package com.javacore.day9;

import java.util.Scanner;

public class Test{
	static Scanner in=new Scanner(System.in);
	static void trial(){
	    int k=in.nextInt();
	    System.out.println(k);
	    System.out.println(k);
	}

	public static void main(String[] args){     
	    int k=in.nextInt();
	    System.out.println(k);
	    System.out.println(k);
	    trial();        
	}
	}